package cn.itcast.service;

import cn.itcast.domain.Student;

import java.util.List;

public interface StudentService {
    List<Student> findAll()throws Exception;
    void delete(String id) throws  Exception;
    //根据id修改学生信息
    void update(Student stu) throws Exception;
    //添加学生
    void  addStudent(Student stu) throws  Exception;
}
